home *** CD-ROM | disk | FTP | other *** search
- =======================================
-
- LISTUSER v.1.2
-
- 9/24/90 Chester Lin
-
- =======================================
-
- This package contains three programs: LOGONTM.EXE, LISTUSER.EXE,
- and LISTUSER.DOC (this file).
-
-
- < Revision History >
-
- V.1.1 8/27/90
-
- The first working version released to public. Known bug: if user's name
- is excessively long, the output file (GTLOGON.LST) may lose proper
- alignment after the user's name.
-
-
- V.1.2 9/24/90
-
- Bug in V.1.1 is fixed by truncating a user's name if it is too long
- (longer than 17 characters)
-
-
- < What is LISTUSER? >
-
- LISTUSER is a utility program for GT HOST BBS. It can create a logon
- listing file for user/sysop to review. The listing file contains user's
- logon date, logon time, logoff time, full name, modem speed, ANSI mode,
- total logon time (in minutes), and total phone bill.
-
- LISTUSER will not add new entry into GTLOGON.LST and GTLOGON.CST if
- the BBS is called from LOCAL mode, i.e. when called by the sysop locally.
-
-
-
- < How to use it? >
-
- It is rediculously simple to use LISTUSER. Here is how:
-
- 1. Put both LOGONTM.EXE and LISTUSER.EXE into your C:\GT (or any
- directory specified by GTPATH) subdirectory.
-
- 2. Change the default path to C:\GT (or where specified by
- GTPATH). This can be done in GTLOGON.BAT by adding the
- following line:
-
- CD C:\GT
-
- 2. Call LOGONTM.EXE from your GTLOGON.BAT batch file. This will
- create a text file "GTLOGON.TM" which contains user's logon
- date and time. Just add the following line into the GTLOGON.BAT
- file:
-
- LOGONTM
-
- 3. Change the default path to C:\GT within GTLOGOFF.BAT, just
- before calling LISTUSER.EXE. This can be done by adding the
- following line to GTLOGOFF.BAT:
-
- CD C:\GT
-
- 3. Call LISTUSER.EXE from your GTLOGOFF.BAT batch file. This will
- create the listing file(s) you need to put into the bulletin.
-
- GTLOGON.TM and GTUSER.BBS must exist to let LISTUSER.EXE functions
- properly; otherwise, LISTUSER will not create the listing files.
- If you are wondering where those two files come from, let me tell
- you. GTLOGON.TM is a one-line text file created by LOGONTM.EXE
- which was called within GTLOGON.BAT. GTUSER.BBS is another one-line
- text file created by GT HOST itself.
-
- Also LISTUSER.EXE will create one intermediate file holding
- all the calling users' data (GTLOGON.L2). Then it creates
- GTLOGON.LST, and GTLOGON.CST _if_ the 'b' option is included in
- the command line when you call LISTUSER.EXE. If 'b' option is not
- enabled, only GTLOGON.LST is be created.
-
- Please don't forget to change the default directory path to C:\GT
- before calling LISTUSER.EXE, as in the case of LOGONTM.EXE. Here
- is an example of using LISTUSER within GTLOGOFF.BAT. The switches
- will be explained later.
-
- LISTUSER [b] [n] $US$ t5 @0.15
-
- 4. GTLOGON.LST is a non-ANSI version listing file created by
- LISTUSER.EXE, and GTLOGON.CST is an ANSI version listing file
- created by LISTUSER.EXE.
-
- 5. Now you may add commands to copy GTLOGON.LST and GTLOGON.CST to
- your bulletin area to be displayed. You may invoke the copy
- command in the logoff batch file. For example:
-
- COPY C:\GT\GTLOGON.LST C:\BULLETIN\10
- COPY C:\GT\GTLOGON.CST C:\BULLETIN\10.CBS
-
- The above two lines can be added into your logoff batch file. They
- will update bulletin #10 after the user logs off.
-
- Also you may rename the GTLOGON.LST and GTLOGON.CST in midnight
- rollover, say, within the schedule batch file, to display yesterday's,
- of day-before-yesterday's logon listing.
-
-
-
- < LISTUSER options >
-
- Version 1.1 LISTUSER accepts two options and three parameters
- in the command line.
-
- The first option 'n' is to tell LISTUSER.EXE to use new format of
- GTUSER.BBS (under GT Power 15.50). If this option is not enabled,
- then LISTUSER will assume the GTUSER.BBS used is in old format
- (under GT 15.01).
-
- The second option is to tell LISTUSER.EXE to create two listing files:
- GTLOGON.LST and GTLOGON.CST. GTLOGON.LST is the non-ANSI version while
- GTLOGON.CST is the ANSI version. This option is enabled by adding 'b'
- in the command line when calling LISTUSER.
-
-
- Three parameters are mandatory for LISTUSER to display phone bill
- information. You must NOT omit any one of them!
-
- The first parameter is the currency name, it is supplied by using
- the '$xxx' sign; 'xxx' is the name of the currency chosen. Say,
- if you want to display phone bill in U.S. dollar, just add the
- following parameter after LISTUSER:
-
- $US$
-
- Or for Japanese Yen:
-
- $¥
-
- Or for New Taiwan dollar:
-
- $NT$
-
- Or for Deutsche Mark:
-
- $DM
-
- Or for Canadian Dollar:
-
- $CDN$
-
-
- The second parameter tells LISTUSER how much time is used as the
- basis to increment the phone bill. This parameter is supplied by
- adding 'txxx' to the command line, where 'xxx' is time in minute.
- If the phone bill is charged every 5 minutes, then add 't5' in
- LISTUSER command line.
-
- The third parameter tells LISTUSER how much money is charged for
- every txxx minutes linked. This can be done by adding '@xxx' in
- LISTUSER command line.
-
- Several examples explain common usage of LISTUSER:
-
- (1) To use LISTUSER under GT 15.50, but you don't want the ANSI
- version listing file, you may add the following line to your
- logoff batch file:
-
- LISTUSER n $NT$ t5 @1.0
-
- (2) To invoke the two-file option under GT 15.01, add 'b' after
- LISTUSER:
-
- LISTUSER b $CAN t10 @0.1
-
- (3) Of course you may also add both options after LISTUSER, to use the
- new format option and to create two listing files under GT 15.50:
-
- LISTUSER n b $US$ t5 @0.25
-
- or
-
- LISTUSER b n $US$ t5 @0.25
-
-
- (4) If you just want to run LISTUSER under GT 15.01, and only non-ANSI
- listing file is desired, just call LISTUSER without any options:
-
- LISTUSER $DM t6 @0.31
-
- The order of 'n', 'b', $xxx, txxx, and @xxx is not important, but you
- must use lower case letters for 'n', 'b', 't'. Also don't omit the
- blanks between each option and parameter, otherwise LISTUSER won't
- 'see' the supplied information.
-
-
-
- ------------------------------------------------------------------------
-
- I hope this small utility helps to make your BBS more interesting.
- You are free to distribute this program without any commercial purposes.
- My only request is that you include all three files when you give this
- package to others. (LISTUSER.EXE, LOGONTM.EXE, and LISTUSER.DOC)
-
-
- Also I would like to know how far this program is distributed. So if
- you get this program, please send me your local postcard to the following
- address:
-
- Chester Lin
- 5-3 Lane 4 Pu Chen Street
- Taipei, Taiwan 10611
- Republic of China
-
- Or you may contact me through Mackey Mouse BBS at:
-
- 886-02-3929997 (modem setting N-8-1-2400/1200)
-
- Or through CompuServe:
-
- Chester Lin
- 71510,3524
-
-
-
- Chester Lin
- 9/24/90
- Taipei, Taiwan